Fix Composer check so it points to a file