Set repository header to string, too

The same, just for the repository accessing.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>