[autotest] Fix the workaround for inotify-on-overlay-fs so it actually works
Tested in a jenkins container, in a loop.