Could head this off by following the idiom as for $PROJECT_HOME set  PROJECT_NAME to 'edx-platform' if not set (e.g. after line 120).

It would not be a bad habit to get out of hardwiring constants like this anyway (.virtualenv comes to mind).