Ask for the password with getpass() if none is given in the arguments