adding a bit of logging and a try/except catch to create_repo