pkg2/resolve: get rid of MetadataError
pkg2: actually use julia_version in check_metadata