Fix some GuardClause Rubocop lints

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