Do not try to copy references in dumb mode

 #KT-4766 Fixed