capistrano v3.1 compatible improve: dependency solve

- solve dependency problem from capistrano/capistrano@a58bb3bca2b
- compatible with capistrano v3.1 (not released yet)