Fix freeze command for already frozen deps and make sure goat looks in the deps dir for gen and freeze commands