Fix the default cache directory.

Because of the `g_get_prgname` returning an empty string the cache directory was set to ~/.cache/.

This modification is in align with the other `platformDefault*` methods.