From this issue: https://github.com/nextcloud/vm/issues/2109 *Instead of modifying the mentioned logic, I'd vote for simplifying it instead after nextcloud/server#29020 is merged, backported and released...*