cregistry: replace nested statements with a loop
cregistry: replace nested statements with a loop

with the necessary evil of goto

danchr/macports-base,danchr/macports-base,macports/macports-base,macports/macports-base