Optimize rake :deploy and :update_local.