Fixed bug with patients gps data not appearing

The bug occurs when the populate_database tries to update the gps data
of the patient when the patient does not exist in the database. When
this function is run again when diagnosis data is available, the gps of
the patient will not be available.
Test data for populate_databases in tests.py