parse %CHECKDEPENDS% correctly