Only expose texturePath if present

To cope with artpacks replacement in https://github.com/deathcap/voxel-texture/commit/32d3847a4ed6eafa4200778ff08aa23d053a2515