fix error with closed project

please merge this patch, which fix issue caused by closed projects on the classpath (this happens with IvyDE), the ticket about the issue is here: 
https://www.assembla.com/spaces/scala-ide/tickets/1001465