Moved to a 2-stage registry building process to allow for half-local dereferencing.
Fixed the case in which the href link contains a alps_base part: If there is a # then don't add the base.