Handle VERSION being -1

-1 is the version set by mock package generators. Ignore it and fall over to
the fallback methods.