Added a check to make sure that redefinition does not occur of the Path class

This is done because there are two passes that load the given class. Thus it is
easy to check to make sure that the class does not already exist in the source
file that contains the code.