Adapt tests to work with recently changed inifile

In the recent release 1.1.1 of puppet inifile type the exists? call
has been changed to return booleans instead of nil / object

This changes the dependant unit test to mirror this change.

Change-Id: I768948250b3269dffa766d05ddd03d2ea20bcdd3
Closes-Bug: #1340319