I see that your sitemap indeed uses the full URLs. However, it may well be that Google picks up other addresses somewhere, and if they have "doku.php" in it, then they are indeed redirecting to the full URL.
I wouldn't consider this a problem, as long as Google picks up the target of the redirection and indexes it (which they don't always do, but that's outside the scope here)