Do not apply that action to _directory but to _filename.
(The same result could be achieved with the converter TAG-Filename if you include path-names.)
If you format the _filename you have to include the filename, though. So expand the formatstring:
Format String: G:\Folder\%artist%$num(%track%,3) _ %artist% _ %title%
(or whatever your preferred filename looks like)