MRELEASE-727 only parse for the pom directory if the SCM itself doesn't know If the SCM can provide a relativePath then we take this info. Otherwise we scan all subdirs until we found the pom in question. This is needed since certain SCMs cannot provide the relative info as they don't have the concept of a 'sparse' checkout.