Fix #918. Stop loading commandfiles from disabled modules within an install profile. 6.x branch.