Avoid undefined of trim() error, when value is empty

 This commit will handle following case.
when properties file has line say: where password is empty

password=