Support multiple ubuntu releases on the same day

When mutliple releases are released on the same day, a ".1" is appended
to the image's timestamp.

We need to strip that.