setup.py: Fix handling of blank target directory.