Create a Library from a git path.

def create(gitpath, cache=None):
    """
    Create a Library from a git path.

    """
    if gitpath.startswith(config.LIBRARY_PREFIX):
        path = gitpath[len(config.LIBRARY_PREFIX):]
        return Library(*path.split('/'), cache=cache)