Djsopnet: check core before assembly generation

Check that the core exists and its solution flag is set.