As a workaround you can edit the options file. There is a key at the end which you can use:
[Lensfun] DBDirectory=