regtest: Try to fix again the paths of the resources in the generated HTML report

Use always relatives paths for the resources under the out directory,
and absolute paths for all other resources when no-absolute-path command
line option is used.