config.xml and local_manifest fixes

remove config.xml if present, also the check for trebuchet_patch=Y , and local_manifest change.