The logic behind updating users for headpin referred to undeclared variable

Should fix https://bugzilla.redhat.com/show_bug.cgi?id=1005427