We shouldn't ever be using backticks; also, there is no reason to even shell out to `dirname` as there is already a `::File.dirname` in Ruby.