Use Formula#tap to get the repository name
gist-logs: simplify setting the post path
gist-logs: pull ternary out of hash literal
gist-logs: remove unnecessary exception class