Remove no default repositories

def remove_repositories(repositories, default_repositories):
    """
    Remove no default repositories
    """
    repos = []
    for repo in repositories:
        if repo in default_repositories:
            repos.append(repo)
    return repos