Amazing how setups differ.
I get this as well
GIMP 2.10.6 Python Console
Python 2.7.12 (default, Feb 17 2018, 16:52:07)
[GCC 6.2.0]
➤> print gimp.directory
/home/rich/.var/app/org.gimp.GIMP/config/GIMP/2.10
➤>
(which is empty)
but it does not stop Gimp using ~/.config/GIMP/2.10/
I get this as well
GIMP 2.10.6 Python Console
Python 2.7.12 (default, Feb 17 2018, 16:52:07)
[GCC 6.2.0]
➤> print gimp.directory
/home/rich/.var/app/org.gimp.GIMP/config/GIMP/2.10
➤>
(which is empty)
but it does not stop Gimp using ~/.config/GIMP/2.10/