Ensure cookbook_path is a string
Fix pretty_printing of environments

see #66