Check in place for null server in photo upload agent