Fix exists? Rubocop deprecation warnings

Change-Id: I1b45c3274b8bd5dd64ff171ef02e999263a83737
Reviewed-on: http://gerrit.causes.com/37391
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane@causes.com>