Fixed regexp pattern of pkgName().

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>