[packaging] fix verify_version.sh to work with standard locations