fix return code for rospd for invalid package names (fix #30)

@mikepurvis @wjwwood Please review

Also cherry-pick to Groovy after merge.