Adds check for invalid path to the manager class