User exit code of "1" when path is not a Rails app
Protect against File.expand_path being called on a bertrpc URL