Remove unused conditional and fix bug in logrotate