opscode/chef — pull request #1971 by workmad3 (2014-09-03 14:36:21+00:00)
Title: Report a more appropriate error when no recipe is given

File.exist? throws an exception if file_name is nil instead of "".

Use .to_s to normalise file_name to a string rather than have an explicit nil check.