Fix composer module checkmode and change detection