base: fix for recreation of broken links

* Fixes a crash on inveniomanage collect when in development mode
  a link for a static file exists but is broken, overwrites with
  a working one instead.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>