fix for capistrano's test environments.