fixing stage_parent usage

assumption: stage_parent is to demarcate if stage/job/task actions are on a pipeline or a template.

in that case stage_parent should not be used in pipeline urls & material urls since they are only for "pipelines".