Implements replace property for local dependencies