as the colon is being interpreted as a separator between "contains" and "doesn't contain" outputs. Escaping it with a slash doesn't work, neither does adding a : to the end of the replacement.
Haven't had any success in putting colons into keyword modifiers but for something like the above, I usually do something like:
%globals_asset_metadata_SomeMetadataField_value^contains:SomeValue: :%
So you hard code everything inside 2 keyword modifier checks and if they are not true, comment out everything inside it.