Remove comments that no longer reflect any adjacent code
Only check Xcode prefix when non-nil
wildfly devel 8.1.0.CR1

Closes #28566.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>