improve CLI recovery hints for uninitialized and unlinked apps (#2527)