If we assign the message (which might contain quotes) to an environment variable and then echo it, this should prevent the problem of having a double quote ("). Also fix a problem in docs script for checking TAGs in commits.