Fix a bug that caused foreman:export to fail on rollback.
Fix a bug that caused foreman:export to fail on rollback.

awmichel/capistrano-foreman,pnomolos/capistrano-foreman,jondruse/capistrano-foreman,wuboy0307/capistrano-foreman