Fixes the case where File.join is called on a blank options[:template_directory].