CDPATH and ri fallback