@classmethod
def resolve_contents(cls, contents, env):
    """Resolve bundle names."""
    result = []
    for f in contents:
        try:
            result.append(env[f])
        except KeyError:
            result.append(f)
    return result
