add get-module-path utility function.