release-task: fix a bug when generating html_base_dir from base_dir as String