dump_settings: prints vars if settings cannot be dumped

Change-Id: I2c6d415efcb73909406a96e1c25763f180e6e3cb