Fix syntax error in before deploying task to support capistrano 3.1

This changed in capistrano's syntax in 3.1