CB-7131 Check for profile photo existance

Try to resolve profile picture, if it can find
it, it returns null
Merge branch 'CB-7131'