Fix NameError exception in Post#tweet.