Lazy load values from tftp::params as default only when we need to
Fix syntax error due to typo
Only create the repo when its not set to false