Implement patch from https://github.com/AndrewJutton/nodejs-gravatar/pull/4