Handle invalid version selections gracefully.

When a selected version of a package doesn't exist anymore (locally any in the registry) for some reason, DUB now falls back to the best match automatically.