devo-get-build-dir should not fail when already in a build dir
More readable handling of the case when user is not in the source dir