fix nexus status (returned 0 regardless of status)
+ waiting for security-configuration.xml to be created by nexus if not existing already