small bugfix in postinstall_commands