Log an error, don't return empty config

Thanks to @phredmoyer for pointing this out.