fix getTasks() unit test
try to ignore the dist folder