Bug 338010 - Resource.createLink() does not preserve symbolic links

Minor polish of the Dani's NPE fix.

Change-Id: I144150cdefb8f9e2da597e0ec90758b9ff1e2c99
Signed-off-by: Sergey Prigogin <eclipse.sprigogin@gmail.com>