hsite: Fixed not properly relativizing paths when inserting in DB.