fixes for emf changes
diff --git a/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php b/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php
index f17000a..8f26eb4 100644
--- a/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php
+++ b/releng.wtpbuilder/distribution/wtp.site/staticDropFiles/miscUtil.php
@@ -47,7 +47,6 @@
 	$allowURLopen = ini_get('allow_url_fopen');
 
 	if ($allowURLopen && stream_last_modified($url)) {
-		echo "Debug url: $url";
 		$result = true;
 	}
 	else {
@@ -204,7 +203,7 @@
 	// For these pre-reqs, we assume if they exist, they are mirrored. This is true
 	// 99% of the time.
 
-	if (resourceExist($prerequrl . "/" . $prereqfilename, $mirrorPrefixuri, $prereqfilename, $eclipseFSpathPrefix)) {
+	if (resourceExist($prerequrl, $mirrorPrefixuri, $prereqfilename, $eclipseFSpathPrefix)) {
 		$reflink="<a href=\"" . $eclipseMirrorScript . $mirrorPrefixuri . "/" . $prereqfilename . "\">" . $prereqfilename . "</a>";
 	} else {
 		$reflink=$prereqfilename;