Fix an issue where batch falls through if the --ask-pass parameter is specified.