@Override
	public Register[] getRegistersWithValues() {
		if (registersWithValues == null) {
			registersWithValues = new HashSet<>();
			for (Register register : language.getRegisters()) {
				RegisterValueStore store = registerValueMap.get(register.getBaseRegister());
				if (store != null && !store.isEmpty()) {
					registersWithValues.add(register);
					continue;
				}
				store = defaultRegisterValueMap.get(register.getBaseRegister());
				if (store != null && !store.isEmpty()) {
					registersWithValues.add(register);
				}
			}
		}
		Register[] regs = new Register[registersWithValues.size()];
		return registersWithValues.toArray(regs);
	}
if the address is in an overlay and we are getting the default value, then get the default
value from the base space, not the overlay space.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/util/AbstractStoredProgramContext.java