Added error handling around build without snapshot dependencies