diff --git a/pkgkit b/pkgkit
index 4afc8e9b0090daa8072dea76a37bfae44bc759ed..b1dcd5624e3c095d03ec23254553ebe72d3be971 100755
--- a/pkgkit
+++ b/pkgkit
@@ -227,7 +227,7 @@ arch="$(uname -m)"
aver="$(get_aver)"
set -x
- path="$remote_path/$aver/$repo/$arch"
+ path="$remote_path/$aver/$arch"
ssh "$remote" mkdir -p "$path"
url=$(echo "$remote" | cut -d@ -f2)
@@ -255,7 +255,7 @@
. /etc/os-release
aver="$(get_aver)"
- path="$remote_path/$aver/$repo/$arch"
+ path="$remote_path/$aver/$arch"
set -x
ssh "$remote" \