add a composer_home fact and use it to set up environment