fix fetching deps from pgs with no deps defined
fix handling 'any' arch pkgs