Fix bug when primo file is missing.
Merge remote-tracking branch 'origin/issue-4-primo-refactor' into bootstrap