check if 'app' directory exists when switching to alternate.