Gracefully handle malformed location strings