fix #3186: do not try to install a null map source

If the wanted map source can no longer be found (because it has been
made unavaiable on the device), try to install a default one, or
fail silently with an error message in the log.
Merge branch 'issue-3186' into release