Fix little MGCP buglet with the wildcard endpoint (bug #2216)