added handling of checking out master build