diff --git a/dim b/dim
index e99940935711ed644046abbb69c9138d52928811..9b20154d0c92fd8ded62280a09aacd9c749ac4ac 100755
--- a/dim
+++ b/dim
@@ -990,7 +990,7 @@ function dim_apply_pull
 
 	cat > $file
 
-	pull_branch=$(sed -ne '/[gG]it repository at:$/{n;n;p}' $file)
+	pull_branch=$(message_print_body "$file" | sed -ne '/[gG]it repository at:$/{n;n;p}')
 	from_line=$(grep '^From:' $file)
 
 	if [[ -z "$pull_branch" ]] ; then