Don't ask for params if there aren't any defined

Don't ask for query params if there aren't any defined