power: Add missing error checking to realpath call
The realpath call happens on a user given path which may be invalid. If an error happens, print this rather than crashing later on.
See #496 (closed) for this happening to a user
The realpath call happens on a user given path which may be invalid. If an error happens, print this rather than crashing later on.
See #496 (closed) for this happening to a user