Main.hs: fix pkg-ver arg not working, and check cabal list is non-empty

use a regex to check form of arg now
(filtering '.' from pkgs also disallowed all pkg-ver!)