capistrano: Find remote home directory more portably.