Fix path resolution when app dir has been renamed.
This solves path resolution when the default app dir has bee
renamed, and a relative path is used to run `cake`
all 2.3 builds now fail on jenkins, not sure if this is the actual cause, travis runs fine
Well that's annoying.