If the --no-interaction option is used, don't ask the user anything
Fixed a failing unit test