partial revert of c075d9f0a81e2335f9cfeed80fbd4ad73de4f8f9 ,centos7 otherwise breaks this logic
Merge pull request #1 from robertpearce/geonet-custom

partial revert of c075d9f0 ,centos7 otherwise breaks the newer logic