fix skip-errors option to work with repository errors

Typically empty git repositories or repositories without composer.json cause errors here.

Fixes #107