Hopefully the "doesn't exist or not a regular file" problem is now solved!

Signed-off-by: Thomas Spycher <tspycher@zerodine.com>