Urgent fix.

Prevents a ```NullPointerException``` happening once in a while.
Merge pull request #435 from tamcap/bugfix

Temporary workaround for GPS exception (@tamcap)