Improved checking and error messages for lpaste fetching.