Silence warning when AUTOFEATURE is set but false

I would like to get rid of the warning when I start autotest.
With this change I can set AUTOFEATURE to false to silence the warning.
Make it a oneliner like it should have been.
Merge pull request #354 from dosire/patch-1

Silence warning when AUTOFEATURE is set but false
Make autotest code a bit clearer