Check if profile picture path is valid.