Check metadata directive when processing copy object request

Fixes EUCA-9451