def METHOD_NAME(label):
    """Removes the null repo name (e.g. @//) from a string.
    The is to make str(label) compatible between bazel 5.x and 6.x
    """
    s = str(label)
    if s.startswith("@//"):
        return s[1:]
    elif s.startswith("@@//"):
        return s[2:]
    return s