Add checks if the underlying project closed/not exists, and catch JavaMo...

...delExceptions so it wont brake the build, this will closes assembla-1001465