Fix for roles with dashes in the name

When parsing apart the role name from version, we need to split from the
right side, not the left, in case the role name has a dash in it.

Change-Id: I56db62c4d18db7951550a7ef94b844234d9c7b22