diff --git a/gitlab/after_build.sh b/gitlab/after_build.sh
index 26ca3d6c68dc6641d6f002a35327835b290969d8..43de272ad6d797e93613a54ec7103ab9131233ab 100755
--- a/gitlab/after_build.sh
+++ b/gitlab/after_build.sh
@@ -4,11 +4,12 @@ source $(dirname ${0})/functions.sh
 
 # delete the bob packages from the cache otherwise the cache keeps increasing
 # over and over. See https://gitlab.idiap.ch/bob/bob.admin/issues/65
-run_cmd rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
+rm -rf ${CONDA_ROOT}/pkgs/bob*.tar.bz2
+rm -rf ${CONDA_ROOT}/pkgs/gridtk*.tar.bz2
 
 # run git clean to clean everything that is not needed. This helps to keep the
 # disk usage on CI machines to minimum.
-run_cmd git clean -ffdx \
+git clean -ffdx \
     --exclude="miniconda.sh" \
     --exclude="miniconda/pkgs/*.tar.bz2" \
     --exclude="miniconda/pkgs/urls.txt" \