diff --git a/Makefile b/Makefile
index 06fdad084d250e4ccab516dd618da702052518fd..54b77daf483e269f19d7757176570f004ce99e80 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ PREFIX ?= /usr
 
 clean:
 	make -C tests clean
-	find . -name '*\.py[co]' -delete
+	find . -name '*.py[co]' -delete
 	rm -f .coverage
 
 install-dev:
diff --git a/debpython/pydist.py b/debpython/pydist.py
index 2d83c813b8944783d5841b348e4a4b8b9d483b22..7ba290f72dfb2ea14ac5babf6396fb4dd1343018 100644
--- a/debpython/pydist.py
+++ b/debpython/pydist.py
@@ -46,7 +46,7 @@ PYDIST_RE = re.compile(r"""
     """, re.VERBOSE)
 
 
-def validate(fpath, exit=False):
+def validate(fpath, exit_on_error=False):
     """Check if pydist file looks good."""
     with open(fpath) as fp:
         for line in fp:
@@ -56,8 +56,8 @@ def validate(fpath, exit=False):
             if not PYDIST_RE.match(line):
                 log.error('invalid pydist data in file %s: %s', \
                           fpath.rsplit('/', 1)[-1], line)
-                if exit:
-                    sys.exit(3)
+                if exit_on_error:
+                    exit(3)
                 return False
     return True
 
@@ -134,7 +134,8 @@ def guess_dependency(req, version):
     process = Popen("/usr/bin/dpkg -S %s" % query,\
                     shell=True, stdout=PIPE, stderr=PIPE)
     if process.wait() != 0:
-        log.error('Cannot find package that provides %s.', name)
+        log.error('Cannot find package that provides %s. '
+                  'Please add it to debian/pydist-overrides', name)
         log.info("hint: `apt-file search -x '(packages|pyshared)/" +\
                   "%s' -l` might help", name)
         exit(8)
diff --git a/dh_python2 b/dh_python2
index 2f08303719b349b185bc576038c01c8269a930fd..c6a430b6ea62cf117fb35dbe539891e10feeb8a0 100755
--- a/dh_python2
+++ b/dh_python2
@@ -395,11 +395,7 @@ def dependencies(package, stats, options):
 
     # make sure pycompile binary is available
     if stats['compile']:
-        dep = "python2.6 (>= 2.6.5-1~)"  # python-minimal uses the same version
-        if depends == ['python2.6']:
-            depends = [dep]
-        else:
-            depends.append(dep)
+        depends.append("python (>= 2.6.5-1~)")
 
     for interpreter, version in stats['shebangs']:
         if interpreter not in depends:
diff --git a/runtime.d/public_modules.rtremove b/runtime.d/public_modules.rtremove
index 57918c7d0bf0c1fb85630efde449b92f6906484d..fac5c75d56d3aa68104989e012b84761babe016e 100644
--- a/runtime.d/public_modules.rtremove
+++ b/runtime.d/public_modules.rtremove
@@ -3,9 +3,5 @@
 if which python >/dev/null 2>&1 && which pyclean >/dev/null 2>&1; then
 	pyclean -V $2 /usr/lib/python$2/
 else
-	find /usr/lib/python$2/ -name '*\.py[co]' -delete
-	# PEP 3147 mode
-	#TAG=`python$2 -c "import imp; print(imp.magic_tags[imp.get_magic()])"` \
-	#find /usr/lib/python3/ -name "*\.$TAG\.py[co]" -delete
-	#find /usr/lib/python3/ -depth -empty -name '__pycache__' -delete
+	find /usr/lib/python$2/ -name '*.py[co]' -delete
 fi