Correctly determine paths for processed paths

When the paths have gone through a few iterations of pre-processing,
such as going through grunt-newer, continue to recursively find the
original path.