fixed typo in composer.lock file checks

File check now correctly check for composer rather then "file"