Fixed issue in remove_resource_alias_namespace

There was an off-by-one error when ripping off the prefix and the unit
test was calling the wrong method. Oops.

Change-Id: I8b5fd44db1482c845985082952c1cd44cfafae86
Merge "Fixed issue in remove_resource_alias_namespace"