Patch for local builds of MadGraph
This patch protects users using local builds of MadGraph. The old version raised an error because it assumed that the path to MadGraph in use had 'MCGenerators' in it, which of course it needn't if it's a local installation. This version should be safer.