Fixes #6032: Prevent rudder-inventory-ldap post installation script to output errors during initial installation