Updated D7 inheritable profiles patch's drupal_get_profiles function.

## Ready State: Yes