Remove remote cloning; use common git functions.
Clone from local repo instead of discard prompt.
Use configured FCP host and port for fetch.
Use rev-parse to get tag commit hash, not log.

git rev-parse tag^{}, to quote the help page: "A suffix ^ followed by an
empty brace pair means the object could be a tag, and dereference the
tag recursively until a non-tag object is found."