Refactor liberty.rb update_server_xml as it is at 25 lines
filter nil strings out of array returned by detect
Merge pull request #87 from stopyro/master

Refactor update_server_xml as it's reached the rubocop 25 lines limit