BBCodes: updated the way variables in repository definitions are processed