[Requirement] Fix use of optimistic requirements on a non-fully-qualified reference version

@fabiopelosin