Fixed bug that was preventing STUB_ aliases from being removed from `require.aliases`.