fix handling of dependencies for broken arhive-contents