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.