Improved Profile pic fixer's pic getter code to handle errors