Refactor common code into Croogo::getBulkProcessVars()

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

Closes #475