fixes ant warning output
terminate application if parameter given is not found