project - misc.sh - Added check_source_path and error code constants