Refactoring common codes
Rename profile -> profileName
Move profile retrieval in SonatypeRESTService class