Implement this commit present in a fork by @nicopace: https://github.com/nicopace/nominatim-install/commit/870b21b711c98aae930ba18068f1a205cf762b44 as an option, so that they can avoid using a fork.