Allow for pre-releases to be counted

Some projects like oslo.messaging (for OpenStack) only have an alpha
version out.