Update facter.sh

Removed stray ruby 'end' statement