get repo name at appropriate time