def _get_distribution(filepath):
    """Return Linux distribution from the first run of a config.yml file."""
    import yaml
    with open(filepath, 'r') as fp:
        config = yaml.load(fp)
    return config['runs'][0]['distribution']
