auto-search.py: Fix bug with `.` symbol in names of temporary python modules