better handling of errors in MergeDefaultLibraryCommand
clean