fix -rm
Merge pull request #2823 from dotcloud/2817-run_rm-fix

Fix docker run -rm