Alright, update, it is still possible. I modified the code in the original post to create folders based on the game name instead of relying on ps_iso_tool to extract a game ID and creating folders based on that. Seems to be working perfectly.

(I have absolutely no idea how to code, so I'm kinda shocked I was able to figure this out.)