Fix resource fingerprinting when running from war