Fixed issue with composer_home_path not defined

Related to pull request #7.

I had to fix an issue with composer_home_path is not defined.
Evaluating a string variabele to boolean seems to be a bad practise too.