It could be the pepsi, anyone who has vomited after a few whisky and cokes will confirm the presence of black. Ultimately it could be blobs of syrup which hasn't been broken down yet. Though the time frame between drinking and reappearance is important, several hours and it probably isn't the pepsi.
Blood is extremely plausible, ulcer most likely cause if that is so.