Removing null pointer issue detected from dev instance - logs.
Problem fixed by checking if instance is null - return null (null
propagation is bad, but now there is no resolution for that - maybe we
can refactor issue to create Nobody account or smth like that to avoid
null pointer).