Fix the condition for checking dbus data type of uid