981689: fix attach command
Merge pull request #686 from candlepin/ckozak/fix_attach

981689: fix attach command