Exception on applying mapping to a nonexistent index

There's probably a much better way to fix this, and I'm not even sure what exactly caused it, but this is the only way I could get foq:elastica:populate to run.