Getting previous heroku version, passing app name as argument