permit separate deployment of multiple refs from the same repo

Use recursive pattern match instead of proplists:get_value to select the matching configuration block from apps