non-absolute path projects were getting an incorrect controllerDir when generating the path for IndexController.php