refactor: update GcsImageType.js
refactor: update GcsImageType.js

This patch handles `gcsDir` properly:
- append '/' after `gcsDir` if `gcsDir` does not end with '/'
- set `gcsDir = ''` if `gcsDir === '/'`

nickhsine/keystone,nickhsine/keystone