Refactor git repository for rpm package. Refs #2975