fix package version detection from filename for centos