Moved the profiles loop in drupal_get_profiles outside of the else control so that it always runs.
Merge pull request #16 from arcaneadam/7.x

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