[pod] Only use dependency namespacing when building framework, not pod