Fixed mistake in 2ecbee78

TRACK_DIRECTORY was not in the scope.