Fix rvm tool infrastructure for case when tool_dependency_dir is a relative path. Thanks to @iracooke for the bug report.