2673b45 simplify the lua code

Authored and Committed by michich a year ago
    simplify the lua code
    
    Use parentheses around the string.gsub call to get the first result from
    the returned tuple.
    
    Use string.find with a capture to get the part we're interested in.
    
    Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
    
        
file modified
+2 -2