Fix pga_version, accept non-decimal only versions

Supports for beta version with format X.YbZ