Use --fail for curl so it return > 0 if manager is not found
Merge pull request #11 from TomiTakussaari/master

Make scripts that use manager to fail when no manager in present