Capistrano - detecting executable instead of setting up unnecessary variable