Updated check for composer.json