Don't use reapath() when setting project directory