Fix ignore of go.mod and go.sum

VOL-1617 - change voltha-bbsim to use standard make-based test process

Change-Id: I57d7f4287c84a3c0e2f10a670cbf44c6f664c822
diff --git a/jjb/shell/licensecheck.sh b/jjb/shell/licensecheck.sh
index 445470e..5bbcdf8 100755
--- a/jjb/shell/licensecheck.sh
+++ b/jjb/shell/licensecheck.sh
@@ -96,6 +96,8 @@
   ! -name "*_pb2_grpc.py" \
   ! -name "Dockerfile" \
   ! -name "Dockerfile.*" \
+  ! -name "go.mod" \
+  ! -name "go.sum" \
   ! -name "Makefile" \
   ! -name "Makefile.*" \
   ! -name "README" \
@@ -103,8 +105,6 @@
   ! -path "*conf*" \
   ! -path "*git*" \
   ! -path "*swagger*" \
-  ! -path "go.mod" \
-  ! -path "go.sum" \
   -print0 )
 
 exit ${fail_licensecheck}