StoragePlugin: prevent NPEs when obtaining User objects