search: Do not error in location dialog when an XDG directory is `$HOME`

`path_from_tracker_dir()` shouldn't return `NULL` since the functions
calling it do not check for a `NULL` return value.

Reported in https://github.com/pop-os/gnome-control-center/issues/149
7 jobs for search-locations in 4 minutes and 39 seconds
latest