Add elif statement to check password == "" and confirmation != ""

Change-Id: Ief86f1d922111c1f5b2e5a9e1d990b0064b8a329
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1063188
Signed-off-by: hadong <hadong0720@gmail.com>