lib: absorb path error cases
#34519
gireeshpunathil:try-guard-process-argv was force-pushed and no longer has any new commits.
Pushing new commits will allow the pull request to be re-opened.
path error cases
#34519
Pushing new commits will allow the pull request to be re-opened.