Added empty string check to method for generating NSDate from GitHub date string.