fix for #196

it's a simple fix, related to a fairly generic problem in Macaulay2 which is that forming an ideal with generators in a given ring R will create a new ideal in R *except* if the list of generators happens to be empty, hence the necessity for a test.