Updated and fixed common use case
Tested for ChefRepo