Fix bug with RakeTaskManager