added dummy hrefs when none found to avoid crash. This does mean that user should look at the messages about files not found and fix them before committing everything.
Authored by: philsp 2012-06-01
Parent: [r634]
Child: [r636]