Fixed a bug in the custom softresolvefilepath implementation