Fix a bug on going to a require file which is a directory