Fix: filter of non existing dependencies for offline buildpack

The creation of an offline buildpack is failing in cause of non existing dependencies. The changes in the bin/package script will do a check in advance and then filter out the incorrect versions.