parser: batch module directory resolution into a single go list