check if "use_inline_resources" are defined

Fix taken from https://github.com/opscode-cookbooks/ark/pull/25