check current working directory for composer.json
Merge pull request #1420 from jaapio/fix_custom_vendor

check current working directory for composer.json