return 404 on no such containers in /attach

Fixes #718