Locate metadata.json by attempting to parse it.

This allows Supermarket to process cookbooks with metadata files named,
e.g. "metadata.json.txt"