def clean_dict(target, keys):
    """Rebuild a new dictionary from requested keys.

    Args:
        target (dict): Dictionary to extract keys from.
        keys (list): List of keys to extract. If one key cannot be found in
            target, it will be ignored.

    Returns:
        dict: Dictionary with requested keys.
    """
    return {key: target[key] for key in keys if key in target}