method to create a repo slug