Returns the absolute path to the specified file/folder *relative to the
    repository root*.

    Args:
        fpath (str): path to a file or folder; doesn't need to exist.

def abspath(fpath):
    """Returns the absolute path to the specified file/folder *relative to the
    repository root*.

    Args:
        fpath (str): path to a file or folder; doesn't need to exist.
    """
    from os import path, getcwd, chdir
    original = getcwd()
    chdir(reporoot)
    result = path.abspath(path.expanduser(fpath))
    chdir(original)
    return result