Handle invalid characters handed to DependencyGraph