fixes #1509 so we can configure the context path for wars (when not explcitily doing so inside the war using a container specific config file)