Fixes db:dump ignoring --no-interaction flag.