action remove: fix if context is ~depends, allow exact match