Fixed fetching namespace options for mounted APIs.