extract find_app_id to deploy.rb