[#6938] check that a forked repo's project exists

From Igor Bondarenko