Fix TypeError: Cannot use 'in' operator to search for 'systemd' in 3000