run nodenv if directory exists