Fix analyzer warning in Xcode 10b1
Fix analyzer warning in Xcode 10b1

- The function is not allowed to return nil.
- The nonnull requirement is enforced later on anyhow.

spotify/HubFramework,spotify/HubFramework,spotify/HubFramework,spotify/HubFramework