Fix resource reference not handling empty namespace
Fix CanRename returns true for excluded items