diff --git a/cabal-debian.cabal b/cabal-debian.cabal
--- a/cabal-debian.cabal
+++ b/cabal-debian.cabal
@@ -1,5 +1,5 @@
 Name:           cabal-debian
-Version:        4.27
+Version:        4.27.1
 Copyright:      Copyright (c) 2007-2014, David Fox, Jeremy Shaw
 License:        BSD3
 License-File:   LICENSE
diff --git a/changelog b/changelog
--- a/changelog
+++ b/changelog
@@ -1,3 +1,9 @@
+haskell-cabal-debian (4.27.1) unstable; urgency=low
+
+  * Fix spurious "Just" in debian/copyright file.
+
+ -- David Fox <dsf@seereason.com>  Tue, 21 Apr 2015 07:01:35 -0700
+
 haskell-cabal-debian (4.27) unstable; urgency=low
 
   * Remove all vestiges of the old data-lens package.  Thanks to
diff --git a/debian-haskell/Debian/Control/Text.hs b/debian-haskell/Debian/Control/Text.hs
--- a/debian-haskell/Debian/Control/Text.hs
+++ b/debian-haskell/Debian/Control/Text.hs
@@ -92,7 +92,7 @@
         where hasFieldName :: String -> Field' T.Text -> Bool
               hasFieldName name (Field (fieldName',_)) = T.pack name == T.map toLower fieldName'
               hasFieldName _ _ = False
-    stripWS = T.strip
+    stripWS = T.reverse . T.strip . T.reverse . T.strip
     protectFieldText = protectFieldText'
     asString = T.unpack
 
diff --git a/debian/changelog b/debian/changelog
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+haskell-cabal-debian (4.27.1) unstable; urgency=low
+
+  * Fix spurious "Just" in debian/copyright file.
+
+ -- David Fox <dsf@seereason.com>  Tue, 21 Apr 2015 07:01:35 -0700
+
 haskell-cabal-debian (4.27) unstable; urgency=low
 
   * Remove all vestiges of the old data-lens package.  Thanks to
diff --git a/src/Debian/Debianize/Files.hs b/src/Debian/Debianize/Files.hs
--- a/src/Debian/Debianize/Files.hs
+++ b/src/Debian/Debianize/Files.hs
@@ -165,7 +165,7 @@
 copyright :: (Monad m, Functor m) => FilesT m [(FilePath, Text)]
 copyright =
     do copyrt <- lift $ use (D.copyright)
-       return [("debian/copyright", prettyText copyrt)]
+       return $ maybe [] (\ x -> [("debian/copyright", prettyText x)]) copyrt
 
 instance Pretty (PP (PackageDescription -> IO CopyrightDescription)) where
     pPrint _ = text "<function>"
