RF: check packages is defined for build