wip refactoring

... towards an idempotent `ensureCordovaProject` sub-routine