Sorry, it's my mistake.

`if [ "${NISE_PASSWORD}" != "" ] ; then`
was okay.