Revert interactive mode determination
Merge pull request #3620 from mdboom/revert-interactive-change

MNT : Revert interactive determination