Fix nil scope split error
What does this MR do and why?
This ensures we handle error responses from octokit, or an empty string when the octokit header has no x-oauth-scopes. This will avoid errors like: NoMethodError
Related to #434442 (closed)
Edited by Carla Drago