diff --git a/l10n_update.check.inc b/l10n_update.check.inc
index cb19113..1a96070 100644
--- a/l10n_update.check.inc
+++ b/l10n_update.check.inc
@@ -283,8 +283,8 @@ function l10n_update_source_check_file($source, $directory = 'translations') {
   if ($files = drupal_system_listing($filename, $directory, 'name', 0)) {
     $file = current($files);
     $source->type = 'localfile';
-    $source->uri = $file->filename;
-    $source->timestamp = filemtime($file->filename);
+    $source->uri = $file->uri;
+    $source->timestamp = filemtime($file->uri);
     return $file;
   }
 }
