Is this definitely safe to substitute on all systems?  Perhaps add the new path to the front of the array instead of changing it?  Unless the point is that having the original one at all breaks things?