_project.py: fix the case where a simple string is passed to host-files

This also adds a test case.

Merge request reports

Loading