Bug fix in the web app maven discovery impl.