It may be easier to update the code to strip package:// and search for the STL files in the current folder and make sure that the STL files are in the correct subfolder relative to the .urdf file.
It may be easier to update the code to strip package:// and search for the STL files in the current folder and make sure that the STL files are in the correct subfolder relative to the .urdf file.