return nil instead of raise additional exceptions

don't use seattle style method calls
File.cookbook? will now properly look for raw and compiled metadata