Prevent crash on malformed MBTiles