Fixes related to exclude-from file selection

I fixed three little bugs in the RsyncExcludeFrom function. Please review.