getmaskingreason: handle UNKNOWN_REPO