implemented some self review comments

2 jobs for jobs-refactor in 4 minutes and 23 seconds (queued for 2 seconds)
latest
Status Job ID Name Coverage
  Build
passed #447880
dind
build

00:04:01

 
  Test
failed #447881
allowed to fail
container_scanning

00:00:21

 
Name Stage Failure
failed
container_scanning Test
Can't pull fsLayers

[ERRO] [klar] [2021-05-19T12:17:07Z] ▶ A 404 was returned from the remote registry which indicates that an image with the URI 'dockerhub.ebi.ac.uk/emblorg/html-sites/embl-jobs-pages/jobs-refactor:fe914289befe7602af24dd5fde3aca25dea682bc' doesn't exist. This can be confirmed by running the command `docker pull dockerhub.ebi.ac.uk/emblorg/html-sites/embl-jobs-pages/jobs-refactor:fe914289befe7602af24dd5fde3aca25dea682bc`. If this command succeeds, then please file a GitLab bug report by visiting https://gitlab.com/gitlab-org/gitlab/issues/new?issue. If this command fails, then you'll need to ensure that you build, tag and push an image with the above URI before attempting to run a container scan on the image. See https://docs.gitlab.com/ee/user/application_security/container_scanning/#requirements for more details.
exit status 2
Authenticating with credentials from $DOCKER_AUTH_CONFIG
Uploading artifacts...
WARNING: gl-container-scanning-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1