'Return profile matching opts.output_profile
Input:
_opts (object): build options object
Return:
(profile): output profile matching name'

def get_output_profile(self, _opts):

    for profile in output_profiles():
        if (profile.short_name == _opts.output_profile):
            return profile
