fix run after rmi
Merge pull request #571 from dotcloud/569-run_after_rmi-fix

fix run after rmi