Handle unavailable location provider and clear location on provider unavailability

Fixes #1