gist logs: fix error message

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
gist logs: print last url

Closes #25514.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>