[WFLY-1498] Invalid resolver metadata with adapted module