Fixes composer detection for composer.phar in working dir