Guard recipe executing inside task, not targetFile