Fix bug when primo file is missing.