Fix services migration for old AD/LDAP/NIS/NT4

Ticket:	#4489
Pet pyflakes

There are some false-positives.

Ticket:	#4518