Fix minor issue: a question mark was always added

after the get url if no parameter is given.