fix tab completion for not required option

https://bugzilla.redhat.com/show_bug.cgi?id=1132974
Merge pull request #1137 from alexxa/master

fix tab completion for not required option