  fi
  
  if [ -n "$upg_port" ]; then
-@@ -3924,6 +4210,7 @@
+@@ -3924,6 +4222,7 @@
  
  [ -n "$PM_URB" -o -n "$PM_URB_UP" ] && PM_URB_DONE="${PM_URB_DONE}${new_port}:"
  [ -n "$PM_URB" -o -n "$PM_URB_UP" -o -n "$PM_FORCE" ] &&

 	if grep -q DEPORIGIN $pdb/$new_port/+CONTENTS; then
 		echo "===>>> Updating dependencies for $new_port to match installed versions"
 		update_contents $pdb/$new_port/+CONTENTS
@@ -3879,27 +4163,29 @@
 	echo ''
 fi
 

 			ro_upg_port=$arg2
 		else
 			find_glob_dirs $arg2 && ro_upg_port=${glob_dirs#$pdb/}
@@ -3080,12 +3328,21 @@
 	unset arg2
 
 	if [ -z "$ro_upg_port" ]; then
