When an object like a paste is private and can't be reached by the bot
account used to fetch Phabricator information, a null exception occurs
in PhabricatorStory::getItemProjectsPHIDsThroughApplicationSearch().
This change handles the case an API query doesn't contain the
required information.
Fixes T1138.