'Creates library locator using library_info dict and branch'

def _create_library_locator(self, library_info, branch):

    return LibraryLocator(org=library_info['org'], library=library_info['course'], branch=branch)
