[net-firewall/ufw-frontends] fix crash when no log found, bug 4377