Refactor common code into Croogo::extractBulkProcessVariables()

Refinement of 67a848251edd3 that's also DRYer
Fix: Don't overwrite nodes.path when it's already set

Closes #475