5da7c18 add argument detection to prevent array out of index error.

Authored and Committed by franzh 6 years ago
    add argument detection to prevent array out of index error.
    
    Fixes: #706
    https://pagure.io/koji/issue/706
    
        
file modified
+6 -3