Fix #583
Fix a JavaModelException when the '.exploded' directory is used, has
just been removed (by a clean build) and this function is called.
Indeed the getKind() requires the underlying resource to be there and in
this case it is not. Note that the isArchive() function doesn't require
accessing the underlying resource.