add get_repo_name func (copied from etersoft-build-utils) and use it