Pkg: publish checks clean METADATA

The check is now performed using only the julia version as
a fixed requirement; other fixed packages are not taken into account.

Also, checks dependencies requirements for unregistered packages.