added check to see if ref has been versioned before starting sub-versioning
added check to see if ref has been versioned before starting sub-versioning

gophr-pm/gophr,gophr-pm/gophr,skeswa/gophr,skeswa/gophr,gophr-pm/gophr,skeswa/gophr,gophr-pm/gophr,skeswa/gophr,gophr-pm/gophr,skeswa/gophr