fixed varialble expansion in post-deploy hook