fixed error in bash completion (issue #524)
Merge pull request #527 from hamstergene/fix_bash_completion_524

fixed error in bash completion (issue #524)