Fix compilation warning for pc-update-gui on 10.x
Fix one compilation warning in pc-usermanager for 10.x, Kris should probably look at the other two to make sure that the logic does not get changed on accident.