Fix psql command, Fix task 'app:local:sync' and 'app:remote:sync' for capistrano V3