Fixes #444 do not proceed with build if dir is a parent of appDir or baseUrl