Change the patch to make inheritable profiles to work

> contrib modules from a profile were not visible to inherited profles