Moved the profiles loop in drupal_get_profiles outside of the else contr...

Moved the profiles loop in drupal_get_profiles outside of the else contr...