lots of logic cleanup, handle case where cvs checkout is not yet created