fix ValueError if select cmd is used without argument
Merge pull request #7 from mfussenegger/select-fix

fix ValueError if select cmd is used without argument