gen-repo.sh fix, allow install from master binary