Add '-type f' to 'find'
Fix error when EUNIT_DIR is empty
Use $(CURDIR) instead of ../$(PROJECT) for SHELL_PATH

This fixes the issue where the project name and project directory
differ, and allow us to support directory of the form name-version.